﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace MainService
{

    [XmlRoot("ServerConfig")]
    public class ServerConfig
    {
        [XmlElement("ZYPT")]
        public ServerAddress ZYPT { get; set; }
        [XmlElement("ZNQD")]
        public ServerAddress ZNQD { get; set; }
         [XmlElement("UISERVER")]
        public ServerAddress UISERVER { get; set; }
    }

    public class ServerAddress
    {
        [XmlElement("ServerIP")]
        public string ServerIP { get; set; }
        [XmlElement("ServerPort")]
        public string ServerPort { get; set; }
    }
}
